﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameFlowManager.Menus;

namespace Tribaan
{
	public class MainMenuScreen : MenuScreen
	{
		#region Methods

		public override void LoadContent()
		{
			base.LoadContent();

			AddMenu(new FluentMenuConstructor(Manager.Game)
				.BeginNewItem()
					.SetIcon("Textures/Icons/ButtonBase")
					.SetName("Commence")
					.SetDescription("Play the game!")
					//.SetAction(menu => SwitchScreens(new TerrainScreen() { TransitionOnTime = 1.0f, TransitionOffTime = 3.0f }))
					.EndNewItem()
				.BeginNewItem()
					.SetIcon("Textures/Icons/ButtonBase")
					.SetName("Terraform")
					.SetDescription("Edit a level.")
					//.SetAction(menu => SwitchScreens(new DungeonScreen() { TransitionOnTime = 1.0f, TransitionOffTime = 3.0f }))
					.EndNewItem()
				.BeginNewItem()
					.SetIcon("Textures/Icons/ExitButton")
					.SetName("Exit")
					.SetDescription("Exit the game.") // ...or, "Abandon this instance. :-("
					.SetAction(menu => menu.Close())
					.EndNewItem()
				.GetMenu());
		}

		#endregion
	}
}